﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Security;

public partial class Manage_main : System.Web.UI.Page
{
    BLL.UserBll ub = new BLL.UserBll();
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            string name = Page.User.Identity.Name;
            lblNowTime.Text = DateTime.Now.ToString();
            Model.User user = ub.GetUser(name);
            lblRole.Text = user.roleName;
            lblName.Text = user.usrName;
        }
    }
}
